package ooday02;

public class Chicken extends Animal{
    Chicken(String name, int age, String color){
        super(name,age,color);
    }
    void layEggs(){
        System.out.println("The "+color+", "+age+" years old "+" chick, "+name+" is laying eggs..");
    }
    void eat(){
        System.out.println("The "+color+", "+age+" years old "+" chick, "+name+ " is eating chicken feed...");
    }
}
